<?php
namespace catchAdmin\permissions\tables\forms;

use catcher\library\form\Form;

class Professional extends Form
{
    public function fields(): array
    {
        // TODO: Implement fields() method.
        return [
            self::input('name', '职称名称')->required(),

            self::radio('status', '状态')->value(1)->options(
                self::options()->add('启用', 1)->add('禁用', 2)->render()
            ),
        ];
    }
}